/* 
    Document   : styles
    Created on : 2011-okt-16, 15:20:07
    Author     : Daniel
    Description:
        Purpose of the stylesheet follows.
*/

/* 
   TODO customize this sample style
   Syntax recommendation http://www.w3.org/TR/REC-CSS2/
*/


root { 
    display: block;
}

body {
    width: 50em;
    border: 1px dotted;
    margin-left: auto;
    margin-right: auto;
    font-family: sans-serif;
}

#header {
    border-bottom: 1px dotted;
    background-color: pink;
}

#header #datebook {
    margin-left: 2em;
}

#menubar {
    border-top: 1px dotted;
    background-color: peachpuff;
    overflow: auto;
    text-align: center;
    margin: 0px;
    padding: 0px;
}

#menubar ul, #menubar li {
    display: inline-block;
    list-style-type: none;
    margin: 0px; 
    padding: 0px;
}

#menuButtons button{
    width: 9em;
    border: 1px solid;
    font-size: 0.7em;
    background: none;
    background-color: lightyellow;
}

#menuButtons button:hover {
    background-color: darksalmon;
}

#logindiv {
    border-top: 1px dotted;
    background-color: peachpuff;
    overflow: auto;
    font-size: 0.7em;
    text-align: right
}

#contents {
    padding: 1em;
    background-color: linen;
    font-size: small;
}

#contents h1 {
    font-size: 1em;
}

#registerdiv {
    font-size: 0.7em;
    text-align: right;
}

#footer {
    font-family: monospace;
    font-size: smaller;
    font-weight: bold;
    border-top: 1px dotted;
    padding-left: 2em;
}

#profileImage, #myForm\3A myProfileImage {
    border: 1px solid;
    width: 12em;
    height: 12em;
}

#dateProfile, #myForm\3A myProfile {
    width: 50em;
    margin-left: auto;
    margin-right: auto;
}

#dateProfile th, #myForm\3A myProfile th {
    color: darkred;
    background-color: blanchedalmond;
    border-bottom: 1px solid;
}

#dateProfile td, #myForm\3A myProfile td {
    vertical-align: top;
}

#dateProfileInner, #myForm\3A myProfileInner {
    font-size: smaller;
}

#loginMessages {
    font-size: 0.8em;
}

#userMenu {
    float: right;
    font-size: 0.7em;
    border-left: 1px dotted;
    background-color: khaki;
}

#userMenu:hover {
    background-color: darksalmon;
}

#userMenu img {
    border: 1px solid;
    width: 2em;
    height: 2em;
}

#userMenuDropdown {
     position: absolute;
     background-color: azure;
     width: 13em;
     height: 5em;
     border: 1px solid;
     visibility: hidden;
     font-size: 0.7em;
}

#userMenuDropdown li:hover {
    color: blueviolet;
    font-weight: bold;
}

#hiddenForm {
    display: none;
}

#imageDialog {
    text-align: center;
    position: absolute;
    visibility: hidden;
    opacity: 0.96;
    background: lightgray;
    border: 1px solid black;
    font-size: large;
}

#imageDialogForm\3A myImageURLLabel {
    font-size: small;
}

#imageDialogForm\3A myImageURLPanel {
    margin-left: auto;
    margin-right: auto;
}


#searchResForm\3A searchResDataTable table, #favForm\3A favTable table,
#conversationsForm\3A conversationsTable table, #messagesForm\3A messagesTable table {
    width: 90%;
    font-size: 1em;
    margin-left: auto;
    margin-right: auto;
    word-break: normal;
}


#searchResForm\3A searchResDataTable th, #favForm\3A favTable th,
#conversationsForm\3A conversationsTable th, #messagesForm\3A messagesTable th {
    text-align: center;
    border: 1px solid brown;
    background: wheat;
}

#searchResForm\3A searchResDataTable tr, #favForm\3A favTable tr,
#conversationsForm\3A conversationsTable tr, #messagesForm\3A messagesTable tr {
    text-align: center;
    border: 0px;
}

#searchResForm\3A searchResDataTable tr:hover, #favForm\3A favTable tr:hover,
#conversationsForm\3A conversationsTable tr:hover, #messagesForm\3A messagesTable tr:hover {
    background: tomato;
    color: white;
    font-weight: bold;
}

#searchResForm\3A searchResDataTable td, #favForm\3A favTable td,
#conversationsForm\3A conversationsTable td, #messagesForm\3A messagesTable td {
    text-align: center;
    border: 0px;
}

#searchResForm\3A searchResDataTable img, #favForm\3A favTable img,
#conversationsForm\3A conversationsTable img, #messagesForm\3A messagesTable img {
    width: 2em;
    height: 2em;
    border: 1px black solid;
}

#conversationsForm\3A conversationsTable td {
    font-size: 0.8em;
    text-align: left;
}

#messagesForm\3A messagesTable td {
    font-size: 0.8em;
    text-align: center;    
}

#conversationsForm\3A conversationsTable td:first-child,
#messagesForm\3A messagesTable td:first-child {
    font-size: 0.9em;
    width: 20%;
    text-align: left;
}

#conversationsForm\3A conversationsTable td:first-child img,
#messagesForm\3A messagesTable td:first-child img {
    margin-right: 0.5em;
    vertical-align: middle;
}

#conversationsForm\3A conversationsTable td:last-child {
    text-align: center;
    width: 25%;
}

#messagesForm\3A messagesTable td:last-child {
    text-align: left;
    width: 50%;
}